package com.huangmb.anymark.server.controller;

import com.huangmb.anymark.server.dto.Response;
import org.springframework.context.annotation.Scope;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author hmb
 * @version 1.0
 * @since 2016/5/3 17:19
 */
@Scope("prototype")
@RestController
@RequestMapping("/")
public class HelloController {

    @RequestMapping
    public String test() {
        return "works";
    }

}
